home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
gui
/
gtldv374.lha
/
GadUtil
/
Docs
/
AutoDocs
/
34.GU_LayoutMenuItemsA
< prev
next >
Wrap
Text File
|
1996-05-14
|
1KB
|
34 lines
gadutil.library/GU_LayoutMenuItemsA gadutil.library/GU_LayoutMenuItemsA
NAME
GU_LayoutMenuItemsA -- Position all the menu items.
SYNOPSIS
success = GU_LayoutMenuItemsA(menuitem, vi, tags)
D0 A0 A1 A2
BOOL GU_LayoutMenuItemsA(struct MenuItem *, APTR, struct TagItem *);
FUNCTION
Lays out all the menu items and sub-items according to
the supplied visual information and tag parameters. You would use this
if you used CreateMenusA() to make a single menu-pane (with sub-items,
if any), instead of a whole menu strip.
This routine attempts to columnize and/or shift the MenuItems in
the event that a menu would be too tall or too wide.
INPUTS
menuitem - Pointer to the first MenuItem in a linked list of items.
vi - Pointer returned by GU_GetVisualInfoA().
tags - Pointer to an array of tags providing optional extra
information.
TAGS
See gadtools/LayoutMenuItemsA() for tags.
RESULT
success - TRUE if successfull, FALSE otherwise.
SEE ALSO
GU_CreateMenusA(), GU_GetVisualInfoA(), gadtools/LayoutMenuItemsA()